<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>http::span_body::value_type</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../index.html" title="Chapter 1. Boost.Beast">
<link rel="up" href="../boost__beast__http__span_body.html" title="http::span_body">
<link rel="prev" href="../boost__beast__http__span_body.html" title="http::span_body">
<link rel="next" href="reader.html" title="http::span_body::reader">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../boost__beast__http__span_body.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost__beast__http__span_body.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reader.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h5 class="title">
<a name="beast.ref.boost__beast__http__span_body.value_type"></a><a class="link" href="value_type.html" title="http::span_body::value_type">http::span_body::value_type</a>
</h5></div></div></div>
<p>
          <a class="indexterm" name="idm44861268070288"></a>
        </p>
<p>
          The type of container used for the body.
        </p>
<h6>
<a name="beast.ref.boost__beast__http__span_body.value_type.h0"></a>
          <span class="phrase"><a name="beast.ref.boost__beast__http__span_body.value_type.synopsis"></a></span><a class="link" href="value_type.html#beast.ref.boost__beast__http__span_body.value_type.synopsis">Synopsis</a>
        </h6>
<pre class="programlisting"><span class="keyword">using</span> <span class="identifier">value_type</span> <span class="special">=</span> <span class="identifier">span</span><span class="special">&lt;</span> <span class="identifier">T</span> <span class="special">&gt;;</span>
</pre>
<h6>
<a name="beast.ref.boost__beast__http__span_body.value_type.h1"></a>
          <span class="phrase"><a name="beast.ref.boost__beast__http__span_body.value_type.types"></a></span><a class="link" href="value_type.html#beast.ref.boost__beast__http__span_body.value_type.types">Types</a>
        </h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                  <p>
                    Name
                  </p>
                </th>
<th>
                  <p>
                    Description
                  </p>
                </th>
</tr></thead>
<tbody>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/const_iterator.html" title="span::const_iterator">const_iterator</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    The const iterator used by the container.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/const_pointer.html" title="span::const_pointer">const_pointer</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    The const pointer used by the container.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/const_reference.html" title="span::const_reference">const_reference</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    The const reference used by the container.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/element_type.html" title="span::element_type">element_type</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    The type of value, including cv qualifiers.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/index_type.html" title="span::index_type">index_type</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    The type of integer used to index the span.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/iterator.html" title="span::iterator">iterator</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    The iterator used by the container.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/pointer.html" title="span::pointer">pointer</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    A pointer to a span element.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/reference.html" title="span::reference">reference</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    A reference to a span element.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/value_type.html" title="span::value_type">value_type</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    The type of value of each span element.
                  </p>
                </td>
</tr>
</tbody>
</table></div>
<h6>
<a name="beast.ref.boost__beast__http__span_body.value_type.h2"></a>
          <span class="phrase"><a name="beast.ref.boost__beast__http__span_body.value_type.member_functions"></a></span><a class="link" href="value_type.html#beast.ref.boost__beast__http__span_body.value_type.member_functions">Member
          Functions</a>
        </h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                  <p>
                    Name
                  </p>
                </th>
<th>
                  <p>
                    Description
                  </p>
                </th>
</tr></thead>
<tbody>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/begin.html" title="span::begin">begin</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Returns an iterator to the beginning of the span.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/cbegin.html" title="span::cbegin">cbegin</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Returns an iterator to the beginning of the span.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/cend.html" title="span::cend">cend</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Returns an iterator to one past the end of the span.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/data.html" title="span::data">data</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Returns a pointer to the beginning of the span.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/empty.html" title="span::empty">empty</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Returns <code class="computeroutput"><span class="keyword">true</span></code> if
                    the span is empty.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/end.html" title="span::end">end</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Returns an iterator to one past the end of the span.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/operator_eq_.html" title="span::operator=">operator=</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Assignment.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/size.html" title="span::size">size</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Returns the number of elements in the span.
                  </p>
                </td>
</tr>
<tr>
<td>
                  <p>
                    <span class="bold"><strong><a class="link" href="../boost__beast__span/span.html" title="span::span">span</a></strong></span>
                  </p>
                </td>
<td>
                  <p>
                    Constructor.
                  </p>
                </td>
</tr>
</tbody>
</table></div>
<p>
          This class implements a non-owning reference to a storage area of a certain
          size and having an underlying integral type with size of 1.
        </p>
<h6>
<a name="beast.ref.boost__beast__http__span_body.value_type.h3"></a>
          <span class="phrase"><a name="beast.ref.boost__beast__http__span_body.value_type.template_parameters"></a></span><a class="link" href="value_type.html#beast.ref.boost__beast__http__span_body.value_type.template_parameters">Template
          Parameters</a>
        </h6>
<div class="informaltable"><table class="table">
<colgroup>
<col>
<col>
</colgroup>
<thead><tr>
<th>
                  <p>
                    Type
                  </p>
                </th>
<th>
                  <p>
                    Description
                  </p>
                </th>
</tr></thead>
<tbody><tr>
<td>
                  <p>
                    <code class="computeroutput"><span class="identifier">T</span></code>
                  </p>
                </td>
<td>
                  <p>
                    The type pointed to by span iterators
                  </p>
                </td>
</tr></tbody>
</table></div>
<h6>
<a name="beast.ref.boost__beast__http__span_body.value_type.h4"></a>
          <span class="phrase"><a name="beast.ref.boost__beast__http__span_body.value_type.description"></a></span><a class="link" href="value_type.html#beast.ref.boost__beast__http__span_body.value_type.description">Description</a>
        </h6>
<p>
          This determines the type of <a class="link" href="../boost__beast__http__message/body.html" title="http::message::body"><code class="computeroutput"><span class="identifier">message</span><span class="special">::</span><span class="identifier">body</span></code></a> when this body type is used
          with a message container.
        </p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright © 2016-2019 Vinnie
      Falco<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="../boost__beast__http__span_body.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../boost__beast__http__span_body.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="reader.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
